
TYPES:=spu ppu host

all: spu-all

clean: $(foreach type,$(TYPES),$(type)-clean)

$(TYPES): $(foreach type,$(TYPES),$(type)-all)

$(foreach type,$(TYPES),$(type)-%):
	make -f Makefile.cell -e TARGET_PROCESSOR=$(word 1,$(subst -, ,$@)) $(word 2,$(subst -, ,$@))

copy:
	scp test/field2m_test* ps3:/tmp/
